﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using WebCS;
using WebVB;
public partial class frmXuatThuoc : System.Web.UI.Page
{
    string Mard_List = System.Configuration.ConfigurationManager.AppSettings["strcon"];
    WebCS.StartCS Connect = new WebCS.StartCS();
    string Mard_Harmful = System.Configuration.ConfigurationManager.AppSettings["strcon1"];
    WebCS.StartCS Connect1 = new WebCS.StartCS();


    ExportCS wecs = new ExportCS();
    ExportsVB wevb = new ExportsVB();

    protected void Page_Load(object sender, EventArgs e)
    {
        DataTable DT = new DataTable();
        DT = Connect1.subSelectBySQLAdapter("select * from Doituongphongtru", Mard_Harmful.ToString());
        //wecs.ExportToExcel(DT);
        //wevb.ExportToExcel("Hoso", "C:\\", DT);
    }
}
